package org.example.fourteendemo;

//子类
public class Dog extends Animal {

    @Override
    public void eat() {
        System.out.println("晚餐吃狗粮");
    }
}
